package com.dog.basics.service.common;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dog.basics.bean.dto.admin.common.ArticleCommentAddDto;
import com.dog.basics.bean.dto.admin.common.ArticleCommentEditDto;
import com.dog.basics.bean.dto.admin.common.ArticleCommentFormDto;
import com.dog.basics.bean.model.common.DogComArticleComment;
import com.dog.basics.bean.vo.admin.common.PcArticleCommentVo;
import com.dog.basics.bean.vo.api.common.ArticleCommentVo;
import com.dog.basics.common.util.PageParam;

/**
 * <p>
 * CMS评论表 服务类
 * </p>
 *
 * @author guonh
 * @since 2020-05-23
 */
public interface IDogComArticleCommentService extends IService<DogComArticleComment> {

    /**
     * @Description: 增加cms文章评论
     * @Param:
     * @return: Boolean
     * @Author: zhangrm
     * @Date: 2020/05/22  0027
     */
    Boolean saveObj(ArticleCommentAddDto obj);

    /**
     * @Description: 删除cms文章评论
     * @Param: ids
     * @return: Boolean
     * @Author: zhangrm
     * @Date: 2020/05/22  0027
     */
    Boolean deleteObj(Long id);

    /**
     * @Description: 修改cms文章评论
     * @Param:
     * @return: Boolean
     * @Author: zhangrm
     * @Date: 2020/05/22  0027
     */
    Boolean editObj(ArticleCommentEditDto obj);

    /**
     * @Description: 分页cms文章评论列表
     * @Param: status
     * @return: IPage<PcArticleCommentVo>
     * @Author: zhangmr
     * @Date:
     */
    IPage<PcArticleCommentVo> getPageList(PageParam page, ArticleCommentFormDto articleCommentFormDto);

    /**
     * @Description: 增加cms文章评论
     * @Param:
     * @return: Boolean
     * @Author: zhangrm
     * @Date: 2020/05/22  0027
     */
    Boolean saveObjApp(ArticleCommentAddDto obj);


    /**
     * @Description: 增加cms文章评论点赞数量
     * @Param:
     * @return: Boolean
     * @Author: zhangrm
     * @Date: 2020/05/22  0027
     */
    Boolean addedit(Long id);

    /**
     * @Description: api分页cms文章评论列表
     * @Param: status
     * @return: IPage<PcArticleCommentVo>
     * @Author: zhangmr
     * @Date:
     */
    IPage<ArticleCommentVo> getApiPageList(PageParam page, ArticleCommentFormDto articleCommentFormDto);
}
